import request from '@/utils/request'

// 暴露12个函数 
// 用户模块  一共有12个接口
export const checkLogin = (data)=>{
    return  request.post('/users/checkLogin',data)
}

export const accountInfo = (data)=>{
    return  request.get('/users/accountinfo',{params:data})
}

export const accountList = (params)=>{
    return  request.get('/users/list',{params})
}

export const accountDel = (params)=>{
    return  request.get('/users/del',{params})
}